package com.t282.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.Chen
 * @since 2021-05-19
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="CstService对象", description="")
public class CstService extends Model<CstService> {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "服务编号")
        @TableId(value = "svr_id", type = IdType.AUTO)
      private Long svrId;

      @ApiModelProperty(value = "服务类型")
      private String svrType;

      @ApiModelProperty(value = "概要")
      private String svrTitle;

      @ApiModelProperty(value = "客户编号")
      private String svrCustNo;

      @ApiModelProperty(value = "客户姓名")
      private String svrCustName;

      @ApiModelProperty(value = "服务状态")
      private String svrStatus;

      @ApiModelProperty(value = "服务请求")
      private String svrRequest;

      @ApiModelProperty(value = "创建人编号")
      private Long svrCreateId;

      @ApiModelProperty(value = "创建人姓名")
      private String svrCreateBy;

      @ApiModelProperty(value = "创建时间")
      private Date svrCreateDate;

      @ApiModelProperty(value = "分配人编号")
      private Long svrDueId;

      @ApiModelProperty(value = "分配人姓名")
      private String svrDueTo;

      @ApiModelProperty(value = "分配时间")
      private Date svrDueDate;

      @ApiModelProperty(value = "服务处理")
      private String svrDeal;

      @ApiModelProperty(value = "处理人编号")
      private Long svrDealId;

      @ApiModelProperty(value = "处理人姓名")
      private String svrDealBy;

      @ApiModelProperty(value = "处理时间")
      private Date svrDealDate;

      @ApiModelProperty(value = "处理结果")
      private String svrResult;

      @ApiModelProperty(value = "满意度")
      private Integer svrSatisfy;


    @Override
    protected Serializable pkVal() {
          return this.svrId;
      }

}
